var el=document.getElementById("<?php echo $_GET['el'] ?>");
var p="<?php echo(isset($_GET['p'])?$_GET['p']:'') ?>";
el.parentNode.removeChild(el);
alert(p);